﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace FrontEndPlus.Módulos.Seguridad
{
    public abstract class cls_Remote_Upload
    {
        public string FileName
        {
            get;
            set;
        }

        public string UrlString
        {
            get;
            set;
        }

        public string NewFileName
        {
            get;
            set;
        }

        public byte[] FileData
        {
            get;
            set;
        }

        public string Usuario
        {
            get;
            set;
        }

        public string Password
        {
            get;
            set;
        }

        public cls_Remote_Upload(byte[] fileData, string fileName, string urlString, string usuario, string password)
        {
            this.FileData = fileData;
            this.FileName = fileName;
            this.Usuario = usuario;
            this.Password = password;
            this.UrlString = urlString;
        }

        public virtual bool UploadFile()
        {
            return true;
        }
    }
}